<ul class="nav nav-secondary">
	<li class="active"><a href="#/leave">员工出勤</a></li>
</ul>
<div style="margin:5px 0 5px 5px;"> 
	<input id="month" class="form-control year" type="text" value="2015-04" >
	<button ng-click="history()"class="btn btn-primary" type="button">查看</button>
	<button ng-click="in()" ng-file-select ng-model="files"  class="btn btn-primary pull-right" type="button">导入本月工资表</button>
</div>
<table class="table" >
    <thead>
	    <tr>
	    	<th>序号</th>
	    	<th>员工号</th>
	    	<th>姓名</th>
	    	<th>工作时数（标准/实际）</th>
	    	<th>迟到（次数/分数）</th>
	    	<th>早退（次数/分数）</th>
	    	<th>出勤天数（天）</th>
	    	<th>旷工（天）</th>
	    </tr>
  	</thead>
  	<tbody>
	    <tr ng-repeat="check in checks">
	    	<td>{{$index+1}}</td>
	    	<td >{{check.teacher_id}}</td>
	    	<td >{{check.name}}</td>
	    	<td>{{check.base_work_time}}/{{check.real_work_time}}</td>
	    	<td>{{check.late_times}}/{{check.late_min}}</td>
	    	<td>{{check.leave_times}}/{{check.leave_min}}</td>
	    	<td>{{check.attend_days}}</td>
	    	<td>{{check.absent_days}}</td>	    	
	    </tr>
  	</tbody>
</table>
